package com.SH.service;

import com.SH.pojo.Goods;

import java.util.List;

/**
 * @Description:
 * @Project:
 * @CreateDate: Created in 2020/3/4 19:45
 * @Author: YXH
 */
public interface GoodsService {

    void addGoods(Goods goods);

    List<Goods> getCidGoods(int cid);

    List<Goods> findGoods(String name);

    List<Goods> getAllGood();

    void delGoods(Integer id);

    List<Goods> sellingGoods(int uid);

    Goods getById(int id);

    void cancelGood(Goods goods);

    void update(Goods goods);
}
